package com.das.mechanic_base.mvp.contract.process;

import com.das.mechanic_base.base.X3IBaseView;
import com.das.mechanic_base.bean.common.AwsFileBean;
import com.das.mechanic_base.bean.processsive.ProcessNewBean;

import java.io.File;

public class NewProcessNewContract {

    public interface View extends X3IBaseView {

        void setNewRecAdapter(ProcessNewBean processNewMainBeans);

        /**
         * 返回录音文件 亚马逊上传
         * @param awsFileBean
         */
        void getAwsSoundIdSuccess(AwsFileBean awsFileBean,int titleIndex,String title,int imageIndex,String imageName,String path,boolean isWork);

        /**
         * 获取题库的id
         */
        long providerId();

        /**
         * 保存施工单详情
         */
        void saveWorkProceudreInfo();

        void getVoiceAws(boolean isSuccess, AwsFileBean awsFileBean);

    }

    public interface Presenter {

        void getWorkProceudreInfoByWorkBaseIdAndTechnicSn(String[] serviceBaseSnList,String technicTempletSn,long id );

        void uploadWavAws(File wavFile,int titleIndex,String title,int imageIndex,String imageName,long workBaseId,String path,boolean isWork);

        void saveWorkProceudreInfo(ProcessNewBean processNewBean);
        void uploadVoiceAws(File file);


    }
}
